ScssPhp\ScssPhp\Parser\Parser D

Total Complexity 188
Dependencies 12
Dependents 1
Total lines 931
Lines of code 523
Logical lines of code 355
Comment lines 190
Methods 36
Properties 3

Methods 36

Method Rating Maintainability Complexity Lines of code
declarationValue()
D
33 34 96
tryUrl()
A
46 15 36
escape()
A
45 14 38
consumeIdentifierBody()
A
51 12 26
lookingAtNumber()
A
52 11 28
string()
A
50 10 29
identifier()
A
51 8 27
lookingAtIdentifier()
A
57 8 17
scanIdentChar()
S
55 6 21
loudComment()
S
60 5 15
firstNewlineBefore()
S
58 4 16
scanComment()
S
60 4 15
expectIdentifier()
S
59 4 14
scanIdentifier()
S
63 4 11
wrapException()
S
63 4 10
expectWhitespace()
S
70 4 6
naturalNumber()
S
61 3 12
consumeIdentifier()
S
66 3 8
spaces()
S
73 3 5
matchesIdentifier()
S
65 3 9
whitespaceWithoutComments()
S
73 3 5
scanCharIf()
S
67 3 8
silentComment()
S
70 3 6
lookingAtIdentifierBody()
S
74 3 4
identifierBody()
S
69 2 7
doParseIdentifier()
S
66 2 9
expectIdentChar()
S
70 2 6
isIdentifier()
S
67 2 8
whitespace()
S
74 2 5
error()
S
79 1 3
warn()
S
79 1 3
parseIdentifier()
S
79 1 3
rawText()
S
73 1 5
escapeCharacter()
S
80 1 3
__construct()
S
72 1 5
variableName()
S
76 1 4